/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.db.generator.field.models;

/**
 *
 * @author abosancic
 */
public class BaseFieldModel {
    
    private String fieldName;
    private String fieldType;
    private boolean primaryKey; 

    public BaseFieldModel() {
    }
    
    public BaseFieldModel(String name, String type) {
        this.fieldName = name;
        this.fieldType = type;
    }

    public String getFieldName() {
        return fieldName;
    }

    public void setFieldName(String fieldName) {
        this.fieldName = fieldName;
    }

    public String getFieldType() {
        return fieldType;
    }

    public void setFieldType(String fieldType) {
        this.fieldType = fieldType;
    }
    
     public boolean isPrimaryKey() {
        return primaryKey;
    }

    public void setPrimaryKey(boolean primaryKey) {
        this.primaryKey = primaryKey;
    }
    
}
